Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

interface Microsoft.​Extensions.​Options.​IOptionsChangeTokenSource<​TOptions>

Assembly: Microsoft.Extensions.Options

Fetches a <see cref="T:Microsoft.Extensions.Primitives.IChangeToken" /> that's used for tracking options changes.

Properties

string
Name
Gets the name of the option instance being changed.

Methods

GetChangeToken​()
Returns a <see cref="T:Microsoft.Extensions.Primitives.IChangeToken" /> that can be used to register a change notification callback.
Returns A change token.